define((['tianM_g_data']),()=>{
    class ShowLi{
        constructor(){
            this.ul = document.querySelector('.showli_guss');
            this.data = data;
            this.showli();
        }
        showli(){
            let str = '';
            this.data.forEach((item)=>{
                str += `
                <li>
                    <a href="#">
                    <div class="mask">
                      <img src="${item.imgUrl}" alt="">
                    </div>
                    <div class="title">
                      <span class="p">${item.title}</span>
                      <span class="ellipsis"></span>
                    </div>
                    <div class="price">
                      ￥${item.price}
                    </div>
                    </a>
                </li>`
            })
            this.ul.innerHTML = str
        }
    }
    new ShowLi
})